package cn.springsoter.core.tool.api;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 分页返回对象
 * 
 * @author kevin
 *
 */
@Data
@Schema(description = "分页数据返回对象")
public class PageResponse<T> {
	@Schema(description = "返回的数据集合")
    private List<T> list;
	@Schema(description = "总数")
    private long total;
	@Schema(description = "当前页码")
    private long page;
	@Schema(description = "当前页面数据量")
    private long size;
}
